#ifndef LIB_H
#define LIB_H
#include "main.h"


extern uint32_t Lib_moving_average_filter(uint32_t *value_buf,uint32_t value,uint8_t *cnt,uint8_t number);

extern uint32_t ul_system_tick;
extern uint8_t uc_feedDog_sn;

extern float lib_median_filter_float(float *value_buf,uint8_t len);
extern uint32_t lib_median_filter_uint(uint32_t *value_buf,uint8_t len);

uint16_t Lib_CRC16Check(uint8_t *pBuf, uint16_t usLen);

extern uint8_t uc_led_twinkle_sn;
#endif /* LIB_H */
